<?php
	$c            = $_GET['c'];
	$list_catalog = $conn->get_all_data_fix($table = 'catalog', -1, 1, $option1, $option2 = ' ORDER BY count DESC');
?>
<div class="well" style="padding: 8px 0px;">
    <ul class="nav nav-list">
		<?php foreach ($list_catalog as $key => $value):
		$list_catalog1 = $conn->get_all_data_fix($table = 'catalog1', -1, 1, $option1, $option2 = ' ORDER BY count DESC');
		?>
        <li class="nav-header">
            <!-- <a href="catalog.php?c=<?=$value['id']  ?>"> -->
			<?=$value['title']  ?>
            <!-- 				</a> -->
        </li>
		<?php foreach ($list_catalog1 as $key1 => $value1): ?>
		<?php if ($value1['catalog_id'] == $value['id']): ?>
            <li <?=$value1['id'] == $c ? "class='active'" : "" ?>>
                <a href="danh-muc/c<?=$value1['id']  ?>/<?=$util->seoUrl($value1['title'])  ?>.html"><?=$value1['title']  ?></a>
            </li>
			<?php endif ?>
		<?php endforeach ?>
		<?php endforeach ?>
    </ul>
</div>
<div class="well" style="padding: 8px 0px">
    <ul class="nav nav-list">
        <li class="nav-header">
            <h5>Hỗ trợ trực tuyến</h5>
        </li>
        <li>
            <a href="ymsgr:sendIM?hoanvusport"><img border="0" alt=""
                                                    src="http://opi.yahoo.com/online?u=hoanvusport&amp;m=g&amp;t=14"></a>
            <a href="ymsgr:sendIM?hieu.dd88"><img border="0" alt=""
                                                  src="http://opi.yahoo.com/online?u=hieu.dd88&amp;m=g&amp;t=14"></a>
        </li>
    </ul>
</div>